/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2023-10-18
 * Time: 14:54
 */

class Dog {
    public String name;
    public int age;
    public String color;

    public static void eat() {
        System.out.println("吃饭!");
    }
}

class WashMachine {
    public String brand;
    public String type;
    public double weight;
    public double length;
    public double width;
    public double height;
    public String color;

    public void washClothes() {
        System.out.println("洗衣功能");
    }

    public void dryClothes() {
        System.out.println("脱水功能");
    }

    public void setTine() {
        System.out.println("定时功能");
    }
}

class Person {
    public String name;
    public int age;

    public void eat() {
        System.out.println("吃饭!");
    }
}

public class Test {
    public static void main(String[] args) {
        WashMachine washMachine1 = new WashMachine();
        washMachine1.brand = "小天鹅";
        System.out.println(washMachine1.brand);
        WashMachine washMachine2 = new WashMachine();
        washMachine2.washClothes();
        WashMachine washMachine3 = new WashMachine();
        washMachine3.dryClothes();
    }
}
